%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 本文件用于生成校徽和校名图片
% 编译命令为 pdflatex --shell-escape generate-img
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage{njuvisual}
\usetikzlibrary{external}
\tikzexternalize[prefix=nju-]
\begin{document}
% 黑色
\tikzsetnextfilename{emblem}         \njuemblem[black]{!}{!}
\tikzsetnextfilename{name}           \njuname  [black]{!}{!}
% 紫色
\tikzsetnextfilename{emblem-purple}  \njuemblem[njupurple]{!}{!}
\tikzsetnextfilename{name-purple}    \njuname  [njupurple]{!}{!}
\end{document}
